package com.mjh.zhujianju.dao.agency;

import com.livew.framework.base.dao.BaseMapper;
import com.mjh.zhujianju.model.agency.WorkDynamicEO;
import com.mjh.zhujianju.vo.agency.WorkDynamicVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface WorkDynamicMapper extends BaseMapper<WorkDynamicEO> {

    /**
     * 查询一个动态
     * @return
     */
    WorkDynamicVO queryWorkDynamicNewOne();

    /**
     * 查询所有动态
     * @return
     */
   List<WorkDynamicVO> queryWorkDynamicList(List<Long> list);

    /**
     * 动态详情
     * @param id
     * @return
     */
    WorkDynamicVO queryWorkDynamicInfo(Long id);
}